package com._520it.wms.service;

import com._520it.wms.domain.Depot;
import com._520it.wms.domain.Product;
import com._520it.wms.query.PageResult;
import com._520it.wms.query.QueryObject;

import java.math.BigDecimal;

/**
 * Created by HASEE on 2017/11/14.
 */
//仓库
public interface IProductStockService {
    //入库操作
    void income(Product product, Depot depot, BigDecimal number, BigDecimal amount);
    //出库操作
    BigDecimal outcome(Product product, Depot depot, BigDecimal number);

    PageResult query(QueryObject qo);
}
